#ifndef _USART3_H
#define _USART3_H

#include "sys_hc32f460.h"
#include <hc32f460_usart.h>

#define DEBUG_INFO
#ifdef DEBUG_INFO
#define trace_info( varformat... )    \
        do{                           \
            Message ("%s:%s [%d]\n",__FILE__ ,__func__,__LINE__); \
            Message (varformat);                        \
        } while(0)
#else
#define TRACE_ZCGK_INFO( varformat... )  do ; while ( 0 )      /* nothing */
#endif
void Message( const char*  fmt, ... );
void USART3_Init(uint32_t baud);
void USART3_Send(uint8_t *buf,uint16_t len);

#endif
